package com.sgb.kjwl.view.ui.adapter.home;

import android.content.Context;
import android.widget.TextView;

import com.sgb.kjwl.R;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;
import com.swgk.core.view.weiget.YoungBaseAdapter;

import java.util.List;

/**
 * 说明：物流首页导航
 * 时间：2021.06.11
 *
 * @author 黄淋
 */
public class FreightNavigationAdapter extends YoungBaseAdapter<String> {

    public FreightNavigationAdapter(Context context, List<String> menuEntityList) {
        super(context, R.layout.goods_adapter_banner_item, menuEntityList);
    }

    @Override
    public void convert(ItemViewHolder holder, String menuEntity) {
        TextView tvName = holder.itemView.findViewById(R.id.tv_name);
        tvName.setText(menuEntity);
    }
}
